Integrand size = 28, antiderivative size = 161 \[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {b n \log ^4\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{4 p}-\frac {b n \log ^3\left (f x^p\right ) \operatorname {PolyLog}\left (2,-\frac {e x^m}{d}\right )}{m}+\frac {3 b n p \log ^2\left (f x^p\right ) \operatorname {PolyLog}\left (3,-\frac {e x^m}{d}\right )}{m^2}-\frac {6 b n p^2 \log \left (f x^p\right ) \operatorname {PolyLog}\left (4,-\frac {e x^m}{d}\right )}{m^3}+\frac {6 b n p^3 \operatorname {PolyLog}\left (5,-\frac {e x^m}{d}\right )}{m^4} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {2531, 2375, 2421, 2430, 6724} \[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {6 b n p^2 \log \left (f x^p\right ) \operatorname {PolyLog}\left (4,-\frac {e x^m}{d}\right )}{m^3}+\frac {3 b n p \log ^2\left (f x^p\right ) \operatorname {PolyLog}\left (3,-\frac {e x^m}{d}\right )}{m^2}-\frac {b n \log ^3\left (f x^p\right ) \operatorname {PolyLog}\left (2,-\frac {e x^m}{d}\right )}{m}-\frac {b n \log ^4\left (f x^p\right ) \log \left (\frac {e x^m}{d}+1\right )}{4 p}+\frac {6 b n p^3 \operatorname {PolyLog}\left (5,-\frac {e x^m}{d}\right )}{m^4} \]
[In]
[Out]
Rule 2375
Rule 2421
Rule 2430
Rule 2531
Rule 6724
Rubi steps \begin{align*} \text {integral}& = \frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {(b e m n) \int \frac {x^{-1+m} \log ^4\left (f x^p\right )}{d+e x^m} \, dx}{4 p} \\ & = \frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {b n \log ^4\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{4 p}+(b n) \int \frac {\log ^3\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{x} \, dx \\ & = \frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {b n \log ^4\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{4 p}-\frac {b n \log ^3\left (f x^p\right ) \text {Li}_2\left (-\frac {e x^m}{d}\right )}{m}+\frac {(3 b n p) \int \frac {\log ^2\left (f x^p\right ) \text {Li}_2\left (-\frac {e x^m}{d}\right )}{x} \, dx}{m} \\ & = \frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {b n \log ^4\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{4 p}-\frac {b n \log ^3\left (f x^p\right ) \text {Li}_2\left (-\frac {e x^m}{d}\right )}{m}+\frac {3 b n p \log ^2\left (f x^p\right ) \text {Li}_3\left (-\frac {e x^m}{d}\right )}{m^2}-\frac {\left (6 b n p^2\right ) \int \frac {\log \left (f x^p\right ) \text {Li}_3\left (-\frac {e x^m}{d}\right )}{x} \, dx}{m^2} \\ & = \frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {b n \log ^4\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{4 p}-\frac {b n \log ^3\left (f x^p\right ) \text {Li}_2\left (-\frac {e x^m}{d}\right )}{m}+\frac {3 b n p \log ^2\left (f x^p\right ) \text {Li}_3\left (-\frac {e x^m}{d}\right )}{m^2}-\frac {6 b n p^2 \log \left (f x^p\right ) \text {Li}_4\left (-\frac {e x^m}{d}\right )}{m^3}+\frac {\left (6 b n p^3\right ) \int \frac {\text {Li}_4\left (-\frac {e x^m}{d}\right )}{x} \, dx}{m^3} \\ & = \frac {\log ^4\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{4 p}-\frac {b n \log ^4\left (f x^p\right ) \log \left (1+\frac {e x^m}{d}\right )}{4 p}-\frac {b n \log ^3\left (f x^p\right ) \text {Li}_2\left (-\frac {e x^m}{d}\right )}{m}+\frac {3 b n p \log ^2\left (f x^p\right ) \text {Li}_3\left (-\frac {e x^m}{d}\right )}{m^2}-\frac {6 b n p^2 \log \left (f x^p\right ) \text {Li}_4\left (-\frac {e x^m}{d}\right )}{m^3}+\frac {6 b n p^3 \text {Li}_5\left (-\frac {e x^m}{d}\right )}{m^4} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(659\) vs. \(2(161)=322\).
Time = 0.20 (sec) , antiderivative size = 659, normalized size of antiderivative = 4.09 \[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=-\frac {3}{10} b m n p^3 \log ^5(x)+\frac {3}{4} b m n p^2 \log ^4(x) \log \left (f x^p\right )-\frac {1}{2} b m n p \log ^3(x) \log ^2\left (f x^p\right )+\frac {a \log ^4\left (f x^p\right )}{4 p}-\frac {3}{4} b n p^3 \log ^4(x) \log \left (1+\frac {d x^{-m}}{e}\right )+2 b n p^2 \log ^3(x) \log \left (f x^p\right ) \log \left (1+\frac {d x^{-m}}{e}\right )-\frac {3}{2} b n p \log ^2(x) \log ^2\left (f x^p\right ) \log \left (1+\frac {d x^{-m}}{e}\right )+b n p^3 \log ^4(x) \log \left (d+e x^m\right )-\frac {b n p^3 \log ^3(x) \log \left (-\frac {e x^m}{d}\right ) \log \left (d+e x^m\right )}{m}-3 b n p^2 \log ^3(x) \log \left (f x^p\right ) \log \left (d+e x^m\right )+\frac {3 b n p^2 \log ^2(x) \log \left (-\frac {e x^m}{d}\right ) \log \left (f x^p\right ) \log \left (d+e x^m\right )}{m}+3 b n p \log ^2(x) \log ^2\left (f x^p\right ) \log \left (d+e x^m\right )-\frac {3 b n p \log (x) \log \left (-\frac {e x^m}{d}\right ) \log ^2\left (f x^p\right ) \log \left (d+e x^m\right )}{m}-b n \log (x) \log ^3\left (f x^p\right ) \log \left (d+e x^m\right )+\frac {b n \log \left (-\frac {e x^m}{d}\right ) \log ^3\left (f x^p\right ) \log \left (d+e x^m\right )}{m}-\frac {1}{4} b p^3 \log ^4(x) \log \left (c \left (d+e x^m\right )^n\right )+b p^2 \log ^3(x) \log \left (f x^p\right ) \log \left (c \left (d+e x^m\right )^n\right )-\frac {3}{2} b p \log ^2(x) \log ^2\left (f x^p\right ) \log \left (c \left (d+e x^m\right )^n\right )+b \log (x) \log ^3\left (f x^p\right ) \log \left (c \left (d+e x^m\right )^n\right )+\frac {b n p \log (x) \left (p^2 \log ^2(x)-3 p \log (x) \log \left (f x^p\right )+3 \log ^2\left (f x^p\right )\right ) \operatorname {PolyLog}\left (2,-\frac {d x^{-m}}{e}\right )}{m}-\frac {b n \left (p \log (x)-\log \left (f x^p\right )\right )^3 \operatorname {PolyLog}\left (2,1+\frac {e x^m}{d}\right )}{m}+\frac {3 b n p \log ^2\left (f x^p\right ) \operatorname {PolyLog}\left (3,-\frac {d x^{-m}}{e}\right )}{m^2}+\frac {6 b n p^2 \log \left (f x^p\right ) \operatorname {PolyLog}\left (4,-\frac {d x^{-m}}{e}\right )}{m^3}+\frac {6 b n p^3 \operatorname {PolyLog}\left (5,-\frac {d x^{-m}}{e}\right )}{m^4} \]
[In]
[Out]
\[\int \frac {\ln \left (f \,x^{p}\right )^{3} \left (a +b \ln \left (c \left (d +e \,x^{m}\right )^{n}\right )\right )}{x}d x\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 417 vs. \(2 (156) = 312\).
Time = 0.38 (sec) , antiderivative size = 417, normalized size of antiderivative = 2.59 \[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\frac {24 \, b n p^{3} {\rm polylog}\left (5, -\frac {e x^{m}}{d}\right ) + 4 \, {\left (b m^{4} \log \left (c\right ) + a m^{4}\right )} \log \left (f\right )^{3} \log \left (x\right ) + 6 \, {\left (b m^{4} p \log \left (c\right ) + a m^{4} p\right )} \log \left (f\right )^{2} \log \left (x\right )^{2} + 4 \, {\left (b m^{4} p^{2} \log \left (c\right ) + a m^{4} p^{2}\right )} \log \left (f\right ) \log \left (x\right )^{3} + {\left (b m^{4} p^{3} \log \left (c\right ) + a m^{4} p^{3}\right )} \log \left (x\right )^{4} - 4 \, {\left (b m^{3} n p^{3} \log \left (x\right )^{3} + 3 \, b m^{3} n p^{2} \log \left (f\right ) \log \left (x\right )^{2} + 3 \, b m^{3} n p \log \left (f\right )^{2} \log \left (x\right ) + b m^{3} n \log \left (f\right )^{3}\right )} {\rm Li}_2\left (-\frac {e x^{m} + d}{d} + 1\right ) + {\left (b m^{4} n p^{3} \log \left (x\right )^{4} + 4 \, b m^{4} n p^{2} \log \left (f\right ) \log \left (x\right )^{3} + 6 \, b m^{4} n p \log \left (f\right )^{2} \log \left (x\right )^{2} + 4 \, b m^{4} n \log \left (f\right )^{3} \log \left (x\right )\right )} \log \left (e x^{m} + d\right ) - {\left (b m^{4} n p^{3} \log \left (x\right )^{4} + 4 \, b m^{4} n p^{2} \log \left (f\right ) \log \left (x\right )^{3} + 6 \, b m^{4} n p \log \left (f\right )^{2} \log \left (x\right )^{2} + 4 \, b m^{4} n \log \left (f\right )^{3} \log \left (x\right )\right )} \log \left (\frac {e x^{m} + d}{d}\right ) - 24 \, {\left (b m n p^{3} \log \left (x\right ) + b m n p^{2} \log \left (f\right )\right )} {\rm polylog}\left (4, -\frac {e x^{m}}{d}\right ) + 12 \, {\left (b m^{2} n p^{3} \log \left (x\right )^{2} + 2 \, b m^{2} n p^{2} \log \left (f\right ) \log \left (x\right ) + b m^{2} n p \log \left (f\right )^{2}\right )} {\rm polylog}\left (3, -\frac {e x^{m}}{d}\right )}{4 \, m^{4}} \]
[In]
[Out]
Timed out. \[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\int { \frac {{\left (b \log \left ({\left (e x^{m} + d\right )}^{n} c\right ) + a\right )} \log \left (f x^{p}\right )^{3}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\int { \frac {{\left (b \log \left ({\left (e x^{m} + d\right )}^{n} c\right ) + a\right )} \log \left (f x^{p}\right )^{3}}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\log ^3\left (f x^p\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{x} \, dx=\int \frac {{\ln \left (f\,x^p\right )}^3\,\left (a+b\,\ln \left (c\,{\left (d+e\,x^m\right )}^n\right )\right )}{x} \,d x \]
[In]
[Out]